<?php

use \App\HttpController\Router;

//前台
Router::group(['prefix'=>'chunqiu','namespace'=>'Applet\Chunqiu'],function (){
    Router::post('login', 'AuthController/login');
    Router::group(['prefix'=>'article'],function (){
        Router::get('', 'IndexController');
        Router::get('info', 'IndexController/info');
        Router::get('list', 'IndexController/list');
    });
    Router::get('wechat', 'IndexController/wechatLink');//公众号链接
    Router::post('form', 'IndexController/formId');
    Router::get('config','IndexController/config');
});
